<?php

return [
    'menu' => [
        'user' => [  /// controller名
            'name' => '功能管理',
            'ico' => '&#xe726;',
            'sub' => [
                'user' => ['name' => '会员列表', 'uri' => '/user/user', 'show' => true, 'method' => 'get'], //index 方法名
                'tree' => ['name' => '层级关系', 'uri' => '/user/tree', 'show' => true, 'method' => 'get|post'],  //index 方法名
                'tree_data' => ['name' => '层级关系数据', 'uri' => '/user/tree_data', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'user_edit' => ['name' => '会员列表编辑', 'uri' => '/user/user_edit', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'money_edit' => ['name' => '资产操作', 'uri' => '/user/money_edit', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'payment' => ['name' => '收款方式', 'uri' => '/user/payment', 'show' => false, 'method' => 'get'], //index 方法名
                'moneylog' => ['name' => '资产明细', 'uri' => '/user/moneylog', 'show' => false, 'method' => 'get'], //index 方法名
                'userconfig' => ['name' => '会员等级配置', 'uri' => '/user/userconfig', 'show' => true, 'method' => 'get'], //index 方法名
                'userconfig_edit' => ['name' => '会员等级配置编辑', 'uri' => '/user/userconfig_edit', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'userauth' => ['name' => '实名认证', 'uri' => '/user/userauth', 'show' => true, 'method' => 'get'], //index 方法名
                'userauthstr' => ['name' => '实名认证审核', 'uri' => '/user/userauthstr', 'show' => false, 'method' => 'get|post'],  //index 方法名
                // 'hall' => ['name' => '订单大厅', 'uri' => '/user/hall', 'show' => true, 'method' => 'get'], //index 方法名
                // 'hallcacel' => ['name' => '发布订单取消', 'uri' => '/user/hallcacel', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'halltrade' => ['name' => '交易订单', 'uri' => '/user/halltrade', 'show' => true, 'method' => 'get'], //index 方法名
                'halltradestr' => ['name' => '交易订单操作', 'uri' => '/user/halltradestr', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'halltradeappeal' => ['name' => '申诉订单', 'uri' => '/user/halltradeappeal', 'show' => true, 'method' => 'get'], //index 方法名
                'halltradeappealstr' => ['name' => '申诉订单处理', 'uri' => '/user/halltradeappealstr', 'show' => false, 'method' => 'get|post'], //index 方法名
                'machine' => ['name' => '矿机', 'uri' => '/user/machine', 'show' => true, 'method' => 'get'], //index 方法名
                'machine_edit' => ['name' => '矿机编辑', 'uri' => '/user/machine_edit', 'show' => false, 'method' => 'get|post'], //index 方法名
                'machinelog' => ['name' => '用户购买矿机', 'uri' => '/user/machinelog', 'show' => true, 'method' => 'get|post'],  //index 方法名
                'withdraw' => ['name' => '用户提现', 'uri' => '/user/withdraw', 'show' => true, 'method' => 'get'], //index 方法名
                'withdrawstr' => ['name' => '用户提现审核', 'uri' => '/user/withdrawstr', 'show' => false, 'method' => 'get|post'],  //index 方法名
            ],
            'show' => true,
        ],

        'admin' => [  /// controller名
            'name' => '权限管理',
            'ico' => '&#xe726;',
            'sub' => [
                'index' => ['name' => '管理员列表', 'uri' => '/admin/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'input' => ['name' => '添加管理员', 'uri' => '/admin/input', 'show' => false, 'method' => 'get|post'],
                'del' => ['name' => '删除管理员', 'uri' => '/admin/del', 'show' => false, 'method' => 'get|post'],
                'login_log' => ['name' => '登录日志', 'uri' => '/admin/login_log', 'show' => true, 'method' => 'get']
            ],
            'show' => true,
        ],
        'system' => [
            'name' => '系统管理',
            'ico' => '&#xe6ae;',
            'sub' => [
                'index' => ['name' => '系统配置', 'uri' => '/system/index', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'config_edit' => ['name' => '修改', 'uri' => '/system/config_edit', 'show' => false, 'method' => 'get|post'],
                'annou' => ['name' => '公告列表', 'uri' => '/system/annou', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'annou_add' => ['name' => '添加/修改', 'uri' => '/system/annou_add', 'show' => false, 'method' => 'get|post'],
                'annou_del' => ['name' => '删除', 'uri' => '/system/annou_del', 'show' => false, 'method' => 'get|post'],
                'kefu' => ['name' => '客服列表', 'uri' => '/system/kefu', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'kefu_add' => ['name' => '添加/修改', 'uri' => '/system/kefu_add', 'show' => false, 'method' => 'get|post'],
                'kefu_del' => ['name' => '删除', 'uri' => '/system/kefu_del', 'show' => false, 'method' => 'get|post'],
                'price' => ['name' => '价格列表', 'uri' => '/system/price', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'price_add' => ['name' => '添加/修改', 'uri' => '/system/price_add', 'show' => false, 'method' => 'get|post'],
                'price_del' => ['name' => '删除', 'uri' => '/system/price_del', 'show' => false, 'method' => 'get|post'],
                'quotes' => ['name' => '行情列表', 'uri' => '/system/quotes', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'quotes_add' => ['name' => '添加/修改', 'uri' => '/system/quotes_add', 'show' => false, 'method' => 'get|post'],
                'quotes_del' => ['name' => '删除', 'uri' => '/system/quotes_del', 'show' => false, 'method' => 'get|post'],
                'ad' => ['name' => '轮播图', 'uri' => '/system/ad', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'ad_add' => ['name' => '轮播图添加与修改', 'uri' => '/system/ad_add', 'show' => false, 'method' => 'get|post'],
                'ad_del' => ['name' => '删除', 'uri' => '/system/ad_del', 'show' => false, 'method' => 'get|post'],
                'message' => ['name' => '反馈信息管理', 'uri' => '/system/message', 'show' => true, 'method' => 'get'], // show 在菜单中是否显示
                'message_add' => ['name' => '评论回复', 'uri' => '/system/message_add', 'show' => false, 'method' => 'get|post'],
                'wallet' => ['name' => 'USDT钱包', 'uri' => '/system/wallet', 'show' => true, 'method' => 'get'], //index 方法名
                'walletstr' => ['name' => '用户钱包更新', 'uri' => '/system/walletstr', 'show' => false, 'method' => 'get|post'],  //index 方法名
            ],
            'show' => true, //是否打开这个功能
        ]
    ]
];
